// PlBullet.cpp //
#include "PlBullet.h"

//player bullet, simaler to enemy bullet, but with special render to account 
//for number on bullet

PlBullet::PlBullet(string keyname) : Projectile(keyname)
{
	speed = PlBulletSpeed;
	health = PlBulletHealth;
}
void PlBullet::Render(SDL_Surface* screen)
{
	char buffer[4];
	sprintf(buffer, "%d", this->numValue);
	sprite->Render(screen,position);
	sprite->texture->DrawText(screen,buffer,16,this->position.X,this->position.Y,5,0,5,true);
}

